package main

import (
	"fmt"
)

type TCP struct {
	i   int
	str string
}
type Big struct {
	TCP
	j int
}

type LinkType uint8

func main() {

	linkType := LinkType(1)
	fmt.Println(linkType)

	// DecodeFunc wraps a function to make it a Decoder.
	type DecodeFunc func([]byte, int) error
	decoderwith := DecodeFunc(decodeTest)
	fmt.Println(decoderwith(nil, 1))

}

func decodeTest([]byte, int) error {
	return nil
}
